/*  
var box=new Date(2007,10,15,17,22,45,15);
alert(box);		//Thu Nov 15 2007 17:22:45 GMT+0800 (中国标准时间)
alert('toString:'+box.toString());	//toString:Thu Nov 15 2007 17:22:45 GMT+0800 (中国标准时间)
alert('toLocaleString:'+box.toLocaleString());//toLocaleString:2007/11/15 下午5:22:45
alert('valueOf:'+box.valueOf());//valueOf:1195118565015		//日期的毫秒数

var box=new Date(2007,10,15,17,22,45,15);
alert(box.toDateString());			//Thu Nov 15 2007
alert(box.toTimeString());			//17:22:45 GMT+0800 (中国标准时间)
alert(box.toLocaleDateString());			//2007/11/15
alert(box.toLocaleTimeString());			//下午5:22:45
alert(box.toUTCString());			//Thu, 15 Nov 2007 09:22:45 GMT

var box=new Date(2007,10,15,17,22,45,15);
alert(box.getTime());//1195118565015
alert(box);//Thu Nov 15 2007 17:22:45 GMT+0800 (中国标准时间)

var box=new Date(2007,10,15,17,22,45,15);
box.setTime(100);
alert(box.getTime());//100

var box=new Date(2007,10,15,17,22,45,15);
alert(box.getFullYear());	//2007
alert(box.getYear());		//107		废弃

var box=new Date(2007,10,15,17,22,45,15);
box.setFullYear(2009);//设置完整的4位年限
alert(box.getFullYear());	//2009

var box=new Date(2007,10,15,17,22,45,15);
//box.setMonth(6);//设置
alert(box.getMonth());	//6		10

var box=new Date();
//box.setMonth(6);//设置
alert(box.getMonth());	//0
alert(box.getMonth()+1);	//当前月

var box=new Date();
alert(box.getFullYear());
alert(box.getUTCFullYear());	//很多方法都有UTC对应的方法

var box=new Date(2007,10,15,17,22,45,15);
alert(box.getUTCHours());//9
alert(box.getHours());//17 东八区有八小时时差，所以这两方法的差值是八

var box=new Date(2007,10,15,17,22,45,15);
alert(box.getTimezoneOffset());//-480  返回本地时间和UTC时间相差的分钟数

*/
var box=new Date();
alert(box.getFullYear()+'/'+(box.getMonth()+1)+'/'+box.getDate()+' '+box.getHours()+':'+box.getMinutes()+':'+box.getSeconds());

























